import Layout from '@/layout/index.vue'
export default [
  {
    path: '/manage-business',
    component: Layout,
    redirect: 'noredirect',
    name: 'ManageStorageOut',
    meta: {
      title: '商务管理',
      icon: 'owner'
    },
    children: [
      {
        path: 'goods-owner',
        component: () =>
          import(
            /* webpackChunkName: "goods-owner" */ '@/module-business/pages/goods-owner/index.vue'
          ),
        name: 'GoodsOwner',
        meta: {
          title: '货主管理'
        }
      },
      {
        path: 'goods-owner/details/:id',
        component: () =>
          import(
            /* webpackChunkName: "goods-owner" */ '@/module-business/pages/goods-owner-add/index.vue'
          ),
        name: 'GoodsOwnerAdd',
        meta: {
          title: '新增货主',
          activeMenu: '/manage-business/goods-owner',
          hidden: true
        }
      },
      {
        path: 'goods-owner/detail/:id',
        component: () =>
          import(
            /* webpackChunkName: "goods-owner" */ '@/module-business/pages/goods-details/index.vue'
          ),
        name: 'GoodsOwnerDetails',
        meta: {
          title: '货主详情',
          activeMenu: '/manage-business/goods-owner',
          hidden: true
        }
      },
      {
        path: 'task-picking',
        component: () =>
          import(
            /* webpackChunkName: "task-picking" */ '@/module-business/pages/forwarding-agent/index.vue'
          ),
        name: 'ManageCarrier',
        meta: {
          title: '承运商管理'
        }
      }
    ]
  }
]
